package com.tude._07vehicle.mapper;

import com.tude._07vehicle.pojo.entity.Vehicle;
import com.tude._07vehicle.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int insertVehicle(Vehicle vehicle);

    List<VehicleListVO> VehicleList(@Param("brand") String brand,
                                    @Param("license") String license,
                                    @Param("userId") Long userId);

    int deleteVehicle(@Param("id") Long id, @Param("userId") Long userId);
}
